package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.List;

@Data
@Document("openidconfig")
public class OpenidConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    private String openid;

    @Field("mobile_type")
    private String mobileType;

    // iOS的 推送环境 0:测试环境 1:正式环境
    @Field("ios_production")
    private Integer iosProduction;

    //这个账号上一个登录的设备标识 (主要用来推送异地登录消息用)
    private String oldRegistrationID;

    //这个账号当前登录的设备标识
    private String registrationID;

    private String sysVersion;

    private String version;

    private String packageName;

    private Long updateTime;

    @Field("t")
    private Long time;

    private List<String> showMsgIdList;


}
